<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>flex-1</title>
    <style>

        .container{
            width: 300px;
            height: 500px;
            background-color: gray;
            display: flex;
            flex-direction: row; /*row row-reverse column*/
            flex-wrap: wrap;
            justify-content: space-around;
            align-items: stretch;

        }

        .item{
            width: 80px;

       /*     margin-left: 10px;*/
            background-color: lime;
        }
    </style>
</head>
<body>


<div class="container">
    <div class="item">1</div>
    <div class="item">2</div>


</div>

</body>
</html>